//
//  HJInformationModel.h
//  KaiChat
//
//  Created by lx on 2024/3/11.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HJInformationModel : NSObject

@property (nonatomic, strong) NSString *avatar;
@property (nonatomic, strong) NSString *nickname;
@property (nonatomic, strong) NSString *publishTime;
@property (nonatomic, strong) NSString *userId;
@property (nonatomic, strong) NSString *informationId;
@property (nonatomic, strong) NSString *postTitle;
@property (nonatomic, strong) NSString *newsTitle;
@property (nonatomic, strong) NSString *content;
@property (nonatomic, strong) NSArray *images;
@property (nonatomic, strong) NSArray *videos;
@property (nonatomic, strong) NSString *source;
@property (nonatomic, assign) NSInteger like;
@property (nonatomic, assign) NSInteger share;
@property (nonatomic, assign) NSInteger views;
@property (nonatomic, assign) NSInteger comment;
@property (nonatomic, assign) NSInteger type;//0 默认用户帖子、1 news快讯、2 广告

@property (nonatomic, assign) NSInteger publishTimestamp;

@property (nonatomic, assign) BOOL isSelf;//0其他用户、1自己
@property (nonatomic, assign) BOOL is_like;
@property (nonatomic, assign) BOOL is_follow;

@property (nonatomic, assign) NSInteger index;
+ (HJInformationModel *)modelWithDict:(NSDictionary *)dict;

@end

NS_ASSUME_NONNULL_END
